/**
 * @ author: 汪孟苹
 */
define([],function(){
	var tpl = {};

	/* queue */
	tpl.queue = function(){
		return queue();
	}
	/* reason */
	tpl.reason = function(){
		var html = '';
		html += reason();
		return html;
	}

	var queue = function(){
		return 	'<script id="tpl_lossFollowupUser_queue" type="text/html">'+
				'	<option value="">全部队列</option>'+
				'	{{each list as value i}}'+
				'	  	<option value="{{value.id}}">{{value.queueName}}</option>'+
				'	{{/each}}'+
				'</script>';
	}

	var reason = function(){
		return 	'<script id="tpl_lossFollowupUser_reason" type="text/html">'+
				'	<div class="loss-reason-group">'+
				'		{{each list as value}}'+
				'			<div id={{value.id}} class="item">{{value.reasonName}}</div>'+
				'		{{/each}}'+
				'	</div>'+
				'</script>';
	}
	
	return tpl;
});